<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="pt" xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:sec="http://www.springframework.org/security/facelets/tags"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/templates/admin/home-admin.xhtml">
	<ui:define name="corpo">
		<div align="left">
			<h:panelGrid columns="1">
				<h:form id="formCad">
					<p:panel toggleable="true" header="Pesquisar de Cliente" 
						style="width: 1025px;">
						<table>
							<tr>
								<td><p:panelGrid columns="2">
										<h:outputLabel value="Nome: " />
										<p:inputText value="#{clienteMB.campoPesquisa}"
											required="true"
											requiredMessage="Parâmetro inválido. Por favor, informe um nome de estabelecimento válido." />
									</p:panelGrid>
								</td>
								<td><p:commandButton value="Pesquisar" title="Pesquisar cliente no sistema, informe o nome."
										action="#{clienteMB.pesquisar}" ajax="false" />
								</td>
							</tr>
						</table>
						<p:spacer/>
					</p:panel>
				</h:form>
			</h:panelGrid>
		</div>
	</ui:define>
</ui:composition>
</html>